package com.youlai.boot.modules.banner.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.youlai.boot.modules.banner.model.Banner;
import com.youlai.boot.modules.banner.model.BannerVO;
import com.youlai.boot.modules.banner.model.BannerPageQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BannerMapper extends BaseMapper<Banner> {
    Page<BannerVO> getBannerPage(Page<BannerVO> page, @Param("query") BannerPageQuery query);
}
